package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

public interface DishService extends IService<Dish> {
    //新增菜品需要同时插入菜品对应的口味数据，需要操作表dish、dish flavor
    public void saveWithFlavor(DishDto dishDto);



    //通过id查询菜品以及口味
    public DishDto getIdWithFlavor(Long id );


    //更新
    void UpdateWithFlavor(DishDto dishDto);
}
